package com.freesky.biz.rights.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.freesky.common.annotation.Desensitized;
import com.freesky.common.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@TableName("tec_rights_third_card")
public class RightsThirdCardEntity extends BaseEntity {
    @TableId
    private String id;
    //业务编号
    private String busiId;
    private String busiName;

    private String name;

    @Desensitized(type = Desensitized.DesensitizedType.BANK_CARD)
    private String cardNo;

    @Desensitized(type = Desensitized.DesensitizedType.BANK_CARD)
    private String stockId;

    private String amt;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String endTime;
    private String useFlag;
    private String receiveId;
    private String delFlag;

}